package com.enzoism.ai.flight.model;

import lombok.Data;
import lombok.Getter;

import java.io.Serializable;

/**
 * 航班对象
 */
@Data
@Getter
public class Flight implements Serializable {
    private Integer id;
    private String name;
    private String date;
    private String from;
    private String to;
    private String status;
    private String bookingClass;

    public Flight(Integer id, String name, String date, String from, String to, String status, String bookingClass) {
        this.id = id;
        this.name = name;
        this.date = date;
        this.from = from;
        this.to = to;
        this.status = status;
        this.bookingClass = bookingClass;
    }

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getDate() {
        return date;
    }

    public String getFrom() {
        return from;
    }

    public String getTo() {
        return to;
    }

    public String getStatus() {
        return status;
    }

    public String getBookingClass() {
        return bookingClass;
    }
}